#!/usr/bin/python
# -*- coding: UTF-8 -*-
import urllib2
import sys
import time
import re
# from BeautifulSoup import BeautifulSoup
# from bs4 import BeautifulSoup

reload(sys)
sys.setdefaultencoding('utf-8')

global ret

opener = urllib2.build_opener()
opener.addheaders = [('User-agent', 'Mozilla/5.0')]##浏览器的标示

ret=''
firstPage = opener.open('https://yd.frxs.cn/api/user/store/getStoreInfo?storeId=66880000060550')
# soupFirstPage = BeautifulSoup(firstPage.read())
print firstPage
# f = file('/Users/fujue/Desktop/youxuan.txt','a')
# f.write('字段：区域，小区名称，所属板块，总户数，绿化率，停车位，物业类型，竣工时间')
# f.close()
print 'all community finished'
